package com.lsu.app.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author hjj
 * @date 2023/11/8 15:11
 */
@Data
@ApiModel(value="ReturnSchedule对象", description="返回的课程表类")
public class ReturnSchedule {
    @ApiModelProperty("当前课程表id")
    private Integer scId;

    @ApiModelProperty("课程表当前周次")
    private Integer culWeekly;

    @ApiModelProperty("课程表创建者昵称")
    private String userNicName;

    @ApiModelProperty("课程表名称")
    private String name;

    @ApiModelProperty("课节数-时间")
    private List<TimeTable> timeTables;

    @ApiModelProperty("周一的课")
    private List<ScheduleCourse> Monday;

    @ApiModelProperty("周二的课")
    private List<ScheduleCourse> Tuesday;

    @ApiModelProperty("周三的课")
    private List<ScheduleCourse> Wednesday;

    @ApiModelProperty("周四的课")
    private List<ScheduleCourse> Thursday;

    @ApiModelProperty("周五的课")
    private List<ScheduleCourse> Friday;

    @ApiModelProperty("周六的课")
    private List<ScheduleCourse> Saturday;

    @ApiModelProperty("周日的课")
    private List<ScheduleCourse> Sunday;

    public ReturnSchedule() {
    }

    public ReturnSchedule(Integer scId,String name,Integer culWeekly,String userNicName,List<TimeTable> timeTables, List<ScheduleCourse> monday, List<ScheduleCourse> tuesday, List<ScheduleCourse> wednesday, List<ScheduleCourse> thursday, List<ScheduleCourse> friday, List<ScheduleCourse> saturday, List<ScheduleCourse> sunday) {
        this.name=name;
        this.scId=scId;
        this.culWeekly=culWeekly;
        this.userNicName=userNicName;
        this.timeTables = timeTables;
        this.Monday = monday;
        this.Tuesday = tuesday;
        this.Wednesday = wednesday;
        Thursday = thursday;
        Friday = friday;
        Saturday = saturday;
        Sunday = sunday;
    }
}
